package com.hzw.saas.service.news.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hzw.saas.api.news.bo.NewsBO;
import com.hzw.saas.service.news.model.News;
import org.apache.ibatis.annotations.Mapper;

/**
 * 新闻表Mapper
 *
 * @author zzl
 * @since 07/05/2021
 */
@Mapper
public interface NewsMapper extends BaseMapper<News> {

    /**
     * Page news 2 admin page.
     *
     * @param page the page
     * @return the page
     */
    IPage<NewsBO> pageNews2Admin(IPage<NewsBO> page);
}
